package com.future.permission.param;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.*;
import java.util.List;

/**
 * @Author yinhao
 * @Date 2021/4/1 10:48
 * @Description
 */
@Getter
@Setter
public class TestVo {

    @NotBlank
    private String msg;

    @NotNull(message = "不可以为空")
    @Max(value = 10,message = "不能大于10")
    @Min(value = 0,message = "不能小于0")
    private Integer id;

    @NotEmpty
    private List<String> str;
}
